import swRequest from './index'
export function getTopMv(offset,limit=10){
return swRequest.get('/top/mv',{
  offset,
  limit
})
}
 /**
   * 获取mv的数据
   * 参数{mvid}
   */
export function getMvInfo(mvid){
  return swRequest.get('/mv/detail',{
    mvid
  })
}

 /**
   * 获取mv的地址
   * 参数{id}
   */
  export function getMvAddress(id){
    return swRequest.get('/mv/url',{
      id
    })
  }
   /**
   * 获取相关视频
   * 参数{id}
   */
  export function getMvVideo(id){
    return swRequest.get('/related/allvideo',{
      id
    })
  }